package com.linln.modules.member.service;

import java.util.List;
import java.util.Map;

import org.springframework.data.domain.Example;
import org.springframework.data.domain.Page;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.transaction.annotation.Transactional;

import com.linln.modules.member.domain.MemberDayCount;

/**
 * @author hct
 * @date 2019/09/12
 */
public interface MemberDayCountService {

    /**
     * 获取分页列表数据
     * @param example 查询实例
     * @return 返回分页数据
     */
    Page<MemberDayCount> getPageList(Example<MemberDayCount> example);
    /**
     * 获取分页列表数据
     * @param example 查询实例
     * @return 返回分页数据
     */
    List<MemberDayCount> getList(Example<MemberDayCount> example);

    /**
     * 根据ID查询数据
     * @param id 主键ID
     */
    MemberDayCount getById(Long id);
    
    Boolean delCollect(Long id);
    
     
    /**
     * 保存数据
     * @param MemberDayCount 实体对象
     */
    MemberDayCount save(MemberDayCount memberDayCount);
    /**
             * 定时任务
     * @return
     */
    public Integer insert();

    /**
     *
     * @return
     */
    public Map<String,Integer> statisticMemberDayCount();

    /**
     *
     * @return
     */
    public Map<String,Integer> statisticStoreDayCount();

    /**
     *
     * @return
     */
    public Map<String,Integer> statisticMemberPayDayCount();

    /**
     *
     * @return
     */
    public Map<String,Integer> statisticMessageDayCount();

   
}